import { User } from './user.interface'

export interface IUserService {
  findAll(): Promise<User[]>;
  findOne(id: number): Promise<User>;
  create(user: User): Promise<User>;
  edit(user: User): Promise<User>;
  remove(id: number): Promise<Boolean>;
  findOneByToken(token: string): Promise<string>;
}